<?php if (!defined('THINK_PATH')) exit(); /*a:2:{s:92:"D:\PhpStudy\PHPTutorial\WWW\05seo7mb.net\public/../app/admin\view\discount\discountedit.html";i:1565083914;s:92:"D:\PhpStudy\PHPTutorial\WWW\05seo7mb.net\public/../app/admin\view\layout\edit_btn_group.html";i:1562986698;}*/ ?>
<form action="<?php echo url(); ?>" method="post" class="form_single">
    <div class="box">
      <div class="box-body">
        <div class="row">
    		<div class="col-md-6">
            <div class="form-group">
              <label>
              	
              		选择级别
              </label>
              <span>
              	<?php if($info['rank_id'] >= 4): ?>
              		（请选择代理级别）
              	<?php else: ?>
              		（请选择会员级别）
              	<?php endif; ?>
              </span>
              	
              		<select name="rank_id" class="form-control">
		              	<option value="<?php echo $info['rank_id']; ?>">
		              		<?php if($info['rank_id'] == 1): ?>
		              			普通会员
		              		<?php elseif($info['rank_id'] == 2): ?>
		              			中级会员
		              		<?php elseif($info['rank_id'] == 3): ?>
		              			高级会员
		              		<?php endif; ?>
		              	</option>
		              	
	              	</select>
             
             
            </div>
          </div>
          <div class="col-md-6">
            <div class="form-group">
              <label>比例</label>
              <span>（比例,例如100%, 这个关键词平台给你10元 ,你设置给用户200%,用户就是20元,除去平台10元,剩下的就是你的利润）</span>
              <input class="form-control" name="discount" placeholder="0.90" value="<?php echo $info['discount']; ?>" type="text">
            </div>
          </div>
 			
          
 
         
            
        </div>
      </div>
      <div class="box-footer">
        <input type="hidden" value="<?php echo $info['id']; ?>" name='id' />
        <button  type="submit" class="btn ladda-button ajax-post" data-style="slide-up" target-form="form_single">
    <span class="ladda-label"><i class="fa fa-send"></i> 确 定</span>
</button>

<a class="btn" onclick="javascript:history.back(-1);return false;"><i class="fa fa-history"></i> 返 回</a>
      </div>
    </div>
</form>
